﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Signup.aspx.cs" Inherits="Signup" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table align="center" style="width: 90%;">
        <tr>
            <td colspan="3" 
                style="font-weight: 700; height: 20px; text-align: center; color: #FF3300; background-color: #99CCFF">
                ĐĂNG KÝ TÀI KHOẢN MỚI&nbsp;</td>
        </tr>
        <tr>
            <td style="height: 20px; width: 244px">
            </td>
            <td style="height: 20px; width: 223px">
                <asp:Label ID="lbLoi" runat="server" style="font-weight: 700; color: #FF0000"></asp:Label>
            </td>
            <td style="height: 20px">
            </td>
        </tr>
        <tr>
            <td class="style2" style="height: 20px; width: 244px; text-align: right">
                Họ và tên</td>
            <td style="height: 20px; width: 223px">
                <asp:TextBox ID="txtHoTen" runat="server" ValidationGroup="signup" 
                    Width="191px"></asp:TextBox>
            </td>
            <td style="height: 20px">
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txtHoTen" ErrorMessage="(*)" 
                    style="font-weight: 700; color: #FF0000"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style2" style="height: 21px; width: 244px; text-align: right">
                Tên tài khoản</td>
            <td style="height: 21px; width: 223px">
                <asp:TextBox ID="txtTenTK" runat="server" ValidationGroup="signup" 
                    Width="191px"></asp:TextBox>
            </td>
            <td style="height: 21px">
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="txtTenTK" ErrorMessage="(*)" 
                    style="font-weight: 700; color: #FF0000"></asp:RequiredFieldValidator>
                <asp:Label ID="lbLoiTK" runat="server" style="font-weight: 700; color: #FF0000"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style2" style="height: 20px; width: 244px; text-align: right">
                Mật khẩu</td>
            <td style="height: 20px; width: 223px">
                <asp:TextBox ID="txtMK" runat="server" ValidationGroup="signup" Width="191px" 
                    TextMode="Password"></asp:TextBox>
            </td>
            <td style="height: 20px">
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ControlToValidate="txtMK" ErrorMessage="(*)" 
                    style="font-weight: 700; color: #FF0000"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style2" style="height: 20px; width: 244px; text-align: right">
                Xác nhận mật khẩu</td>
            <td style="height: 20px; width: 223px">
                <asp:TextBox ID="txtMK2" runat="server" ValidationGroup="signup" Width="191px" 
                    TextMode="Password"></asp:TextBox>
            </td>
            <td style="height: 20px">
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                    ControlToValidate="txtMK2" ErrorMessage="(*)" 
                    style="font-weight: 700; color: #FF0000"></asp:RequiredFieldValidator>
                <asp:CompareValidator ID="CompareValidator1" runat="server" 
                    ControlToCompare="txtMK" ControlToValidate="txtMK2" 
                    ErrorMessage="Xác nhận không đúng" style="color: #FF0000"></asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td class="style2" style="height: 20px; width: 244px; text-align: right">
                Email</td>
            <td style="height: 20px; width: 223px">
                <asp:TextBox ID="txtEmail" runat="server" ValidationGroup="signup" 
                    Width="191px"></asp:TextBox>
            </td>
            <td style="height: 20px">
                <asp:Label ID="lbLoiEmail" runat="server" 
                    style="font-weight: 700; color: #FF0000"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style2" style="height: 20px; width: 244px; text-align: right">
                Địa chỉ</td>
            <td style="height: 20px; width: 223px">
                <asp:TextBox ID="txtDiaChi" runat="server" ValidationGroup="signup" 
                    Width="191px"></asp:TextBox>
            </td>
            <td style="height: 20px">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style2" style="height: 20px; width: 244px; text-align: right">
                Số điện thoại</td>
            <td style="height: 20px; width: 223px">
                <asp:TextBox ID="txtDienThoai" runat="server" ValidationGroup="signup" 
                    Width="191px"></asp:TextBox>
            </td>
            <td style="height: 20px">
                &nbsp;</td>
        </tr>
        <tr>
            <td style="height: 20px; width: 244px">
            </td>
            <td style="height: 20px; width: 223px">
            </td>
            <td style="height: 20px">
            </td>
        </tr>
        <tr>
            <td style="height: 20px; width: 244px">
                &nbsp;</td>
            <td style="height: 20px; width: 223px">
                <asp:Button ID="btnDangKy" runat="server" onclick="btnDangKy_Click" 
                    Text="Đăng ký" ValidationGroup="signup" />
            </td>
            <td style="height: 20px">
            </td>
        </tr>
    </table>
</asp:Content>

